package com.jiazhong.spring.ioc.讲之前的内容.b;

public class DemoB {

    private DemoA a;

    public DemoB(DemoA a) {
        this.a = a;
    }

    public void b(){
        a.sleep();
    }
}
